using System;
using System.Reflection;
using System.Drawing;
using System.Drawing.Imaging;
using System.Diagnostics;
using System.IO;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.Windows.Forms;
using stsdev.Builders.SolutionFiles;


namespace stsdev
{
    class EmptySolutionWithAssemblyProvider : ISolutionProvider
    {
        private ProjectFileBuilder _projectFileBuilder;

        public EmptySolutionWithAssemblyProvider()
        {
            _projectFileBuilder = new ProjectFileBuilder();
        }

        public string Title
        {
            get { return "Empty Solution (C# assembly)"; }
        }

        public void InitializeSolution()
        {
            SolutionBuilder.AssemblyDeployment = true;
            SolutionBuilder.SafeControlSettings = false;
            SolutionBuilder.DeploymentTarget = AssemblyDeploymentTarget.GlobalAssemblyCache;
            SolutionBuilder.CasPermissions = false;
        }

        public void AddSolutionItems()
        {
            // nothing to do to create empty solution
        }


        #region ISolutionProvider Members


        public IProjectFileBuilder ProjectProvider
        {
            get { return _projectFileBuilder; }
        }

        #endregion
    }
}
